package com.kkyy.mymusic.feign;

import com.kkyy.mymusic.entity.NewMusicEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("kkyy-newmusic")
public interface FeignService {
    @RequestMapping("/newmusic/getOneBySongsId")
    NewMusicEntity getOneBySongsId(@RequestParam("songsId") Integer songsId);
}